
<%@ page import="buscar.Login"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="main" />
<g:set var="entityName"
	value="${message(code: 'login.label', default: 'Login')}" />
<title><g:message code="default.list.label" args="[entityName]" />
</title>
</head>
<body>
	<div class="nav">
		<span class="menuButton"><a class="home"
			href="${createLink(uri: '/')}"><g:message
					code="default.home.label" /> </a> </span> <span class="menuButton"><g:link
				class="create" action="create">
				<g:message code="Login" args="[entityName]" />
			</g:link> </span>
	</div>
	<div class="body">

		<g:if test="${flash.message}">
			<div class="message">
				${flash.message}
			</div>
		</g:if>

		<div class="body">
			<g:form action="doLogin" method="post">
				<div class="dialog">
					</br> </br>

					<table class="userForm">
						<tr class='prop'>
							<td valign='top' style='text-align: left;' width='20%'><label
								for='email'>Email:</label></td>
							<td valign='top' style='text-align: left;' width='80%'><input
								id="email" type='text' name='email' value='${user?.email}' /></td>
						</tr>
						<tr class='prop'>
							<td valign='top' style='text-align: left;' width='20%'><label
								for='password'>Senha:</label></td>
							<td valign='top' style='text-align: left;' width='80%'><input
								id="password" type='password' name='password'
								value='${user?.password}' /></td>
						</tr>
					</table>
				</div>
				<div class="buttons">
					<span class="formButton"> <input type="submit" value="Login"></input>
					</span>
				</div>

			</g:form>
		</div>
	</div>
</body>
</html>
